//Copyright (C) 2009 Ron Coleman. Contact: ronncoleman@gmail.com
//
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 3 of the License, or (at your option) any later version.
//
//This library is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this library; if not, write to the Free Software
//Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

package org.workplicity.cia.util;

import java.util.Date;

/**
 * This class implements a project-specific date.
 * @author Ron Coleman
 */
public class WorkDate extends Date {
    /**
     * Constructor
     */
    public WorkDate() {
        super();
    }

    /**
     * Constructor
     * @param time Time
     */
    public WorkDate(long time) {
        super(time);
    }

    /**
     * Constructor
     * @param date Date
     */
    public WorkDate(Date date) {
        super(date.getTime());
    }

    /**
     * Gets a string representation of date
     * @return String
     */
    @Override
    public String toString() {
        return super.getTime()+"";
    }
}

